<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js三种引用方法</title>
    <!-- 内嵌式引入js -->
    <script>
        alert("内嵌式引入js");
    </script>

    <!-- 外链式引入js -->
    <!-- <script src="t.js"></script> -->
</head>

<body>
    <!-- 行内式引入js——表签后添加属性 -->
    <input type="button" value="提交" onclick="alert('wu yu hui')">
    <a href="javascript:alert('wu yu hui 0120221111')">a提交</a>
</body>

</html>